package com.gx.service.impl;

import com.gx.domain.ScheduleJobLog;
import com.gx.mapper.ScheduleJobLogMapper;
import com.gx.service.api.ScheduleJobLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ScheduleJobLogServiceImpl implements ScheduleJobLogService {
    @Autowired
    private ScheduleJobLogMapper scheduleJobLogMapper;

    @Override
    public ScheduleJobLog queryObject(Long jobId) {
        return scheduleJobLogMapper.queryObject(jobId);
    }

    @Override
    public List<ScheduleJobLog> queryList(Map<String, Object> map) {
        return scheduleJobLogMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return scheduleJobLogMapper.queryTotal(map);
    }

    @Override
    public void save(ScheduleJobLog log) {
        scheduleJobLogMapper.save(log);
    }


}
